package com.ruoyi.dm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.dm.domain.po.SpaceTrackCollectRecordPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SpaceTrackCollectRecordMapper extends BaseMapper<SpaceTrackCollectRecordPO> {

    @Select("select count(1) from COLLECT_TRACK_RECORD where FILE_NAME =#{filename}")
    int selectRepeat(@Param("filename") String filename);
}
